package com.exam.demo.service;

import com.exam.demo.pojo.Teacher;

import java.util.List;

public interface TeacherService {
    int add(Teacher teacher);
    Boolean login(String teaNo,String teaPwd);
    Teacher getInfo(String teaNo);
    int updateTeaInfo(Teacher teacher);
    int updateTeaPwd(String teaNo,String oldTeaPwd,String newTeaPwd);
    List<Teacher> getTeacherListByTeaNo(String teaNo);
    List<Teacher> getTeacherListByTeaName(String teaName);
    List<Teacher> getTeacherListByTeaDiscipline(String teaDiscipline);
    List<Teacher> getTeacherListByTeaMail(String teaMail);
}
